var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(f, d, c) {
    if (status == 0 && f == 0) {
        cm.dispose();
        return
    }(f == 1) ? status++ : status--;
    selectionLog[status] = c;
    var b = -1;
    if (status <= b++) {
        cm.dispose()
    } else {
        if (status === b++) {
            if (cm.isQuestActive(32607)) {
                cm.forceStartQuest(32626, "1")
            }
            var e = "我能成为女皇吗? \r\n\r\n";
            var a = 2520001;
            if (cm.isQuestFinished(32610)) {
                e += "          #fUI/UIWindow4.img/libraryCygnus/0/0#  #fUI/UIWindow4.img/libraryCygnus/1/4#  #fUI/UIWindow4.img/libraryCygnus/2/4#  \r\n"
            } else {
                e += "          #fUI/UIWindow4.img/libraryCygnus/0/0#  #fUI/UIWindow4.img/libraryCygnus/1/1#  #fUI/UIWindow4.img/libraryCygnus/2/1#  \r\n"
            }
            if (cm.isQuestFinished(32617)) {
                a = 2520002;
                e += "          #fUI/UIWindow4.img/libraryCygnus/0/1#  #fUI/UIWindow4.img/libraryCygnus/1/4#  #fUI/UIWindow4.img/libraryCygnus/2/4#  \r\n"
            } else {
                e += "          #fUI/UIWindow4.img/libraryCygnus/0/1#  #fUI/UIWindow4.img/libraryCygnus/1/1#  #fUI/UIWindow4.img/libraryCygnus/2/1#  \r\n"
            }
            if (cm.isQuestFinished(32617) && !cm.isQuestFinished(32623)) {
                a = 2520003;
                e += "          #fUI/UIWindow4.img/libraryCygnus/0/2#  #fUI/UIWindow4.img/libraryCygnus/1/0#  #fUI/UIWindow4.img/libraryCygnus/2/0#  \r\n"
            } else {
                if (cm.isQuestFinished(32624)) {
                    e += "          #fUI/UIWindow4.img/libraryCygnus/0/2#  #fUI/UIWindow4.img/libraryCygnus/1/3#  #fUI/UIWindow4.img/libraryCygnus/2/3#  \r\n"
                } else {
                    e += "          #fUI/UIWindow4.img/libraryCygnus/0/2#  #fUI/UIWindow4.img/libraryCygnus/1/1#  #fUI/UIWindow4.img/libraryCygnus/2/1#  \r\n"
                }
            }
            if (cm.isQuestFinished(32617) && !cm.isQuestFinished(32623)) {
                e += "          #fUI/UIWindow4.img/libraryCygnus/0/3#  #fUI/UIWindow4.img/libraryCygnus/1/0#  #fUI/UIWindow4.img/libraryCygnus/2/0#  \r\n"
            } else {
                if (cm.isQuestFinished(32624)) {
                    e += "          #fUI/UIWindow4.img/libraryCygnus/0/3#  #fUI/UIWindow4.img/libraryCygnus/1/4#  #fUI/UIWindow4.img/libraryCygnus/2/4#  \r\n"
                } else {
                    e += "          #fUI/UIWindow4.img/libraryCygnus/0/3#  #fUI/UIWindow4.img/libraryCygnus/1/2#  #fUI/UIWindow4.img/libraryCygnus/2/2#  \r\n"
                }
            }
            cm.sendNormalTalk_Illus(e, a, 0, false, false, 0)
        } else {
            cm.dispose()
        }
    }
};